"""
scripts for mAP calculation
"""

import argparse


def get_args():
    pass


def main():
    image_folder = r'F:\Frameworks\VortexDetectionRef\mAP-master\input\images-optional'
    gt_folder = r'F:\Frameworks\VortexDetectionRef\mAP-master\input\ground-truth'
    det_folder = r'F:\Frameworks\VortexDetectionRef\mAP-master\input\detection-results'

    metric = MetricsVOC(no_difficult=True)
    metric.voc_ap(gt_folder, det_folder)
    # metric.view(image_folder, gt_folder, det_folder)



if __name__ == '__main__':
    main()

